package com.TSum;

import java.util.Arrays;

public class Test {
    public static void main(String[] args) {

        // 1.暴力枚举测试
        int[] violenceEnumeration = TSum.violenceEnumeration(new int[]{1, 3, 5, 7, 9}, 8);
        System.out.println("暴力枚举测试:");
        System.out.println(Arrays.toString(violenceEnumeration));

        // 2.哈希表测试
        int[] hashTable = TSum.hashTable(new int[]{1, 3, 5, 7, 9}, 8);
        System.out.println("哈希表测试:");
        System.out.println(Arrays.toString(hashTable));
    }
}
